<?php
  try {

  $G_MAIN_MENU = 'workflow';
  $G_SUB_MENU = 'hrSuffix';
  $G_ID_MENU_SELECTED = '';
  $G_ID_SUB_MENU_SELECTED = '';

  $G_PUBLISH = new Publisher;

  require_once ( PATH_PLUGINS . 'hr' . PATH_SEP . 'class.hr.php');
  $pluginObj = new hrClass ();

  require_once ( "classes/model/HrSuffix.php" );

  $Criteria = new Criteria('workflow');
  $Criteria->clearSelectColumns ( );

  $Criteria->addSelectColumn (  HrSuffixPeer::SUFFIX_UID );
  $Criteria->addSelectColumn (  HrSuffixPeer::SUFFIX );
  $Criteria->addSelectColumn (  HrSuffixPeer::SUFFIXDESCRIPTION );

  $Criteria->add (  hrSuffixPeer::SUFFIX_UID, "xx" , CRITERIA::NOT_EQUAL );

  $G_PUBLISH->AddContent('propeltable', 'paged-table', 'hr/hrSuffixList', $Criteria , array(),'');
  G::RenderPage('publish', 'blank');

  }
  catch ( Exception $e ) {
    $G_PUBLISH = new Publisher;
    $aMessage['MESSAGE'] = $e->getMessage();
    $G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', $aMessage );
    G::RenderPage( 'publish', 'blank' );
  }
